[INFO] cloning repository https://github.com/shramee/dojo-macros-in-scarb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shramee/dojo-macros-in-scarb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshramee%2Fdojo-macros-in-scarb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshramee%2Fdojo-macros-in-scarb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3933bb1f73de1604a1187cc695960e667c919cce
[INFO] checking shramee/dojo-macros-in-scarb against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshramee%2Fdojo-macros-in-scarb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shramee/dojo-macros-in-scarb
[INFO] finished tweaking git repo https://github.com/shramee/dojo-macros-in-scarb
[INFO] tweaked toml for git repo https://github.com/shramee/dojo-macros-in-scarb written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shramee/dojo-macros-in-scarb on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shramee/dojo-macros-in-scarb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust-analyzer-salsa-macros v0.17.0-pre.6
[INFO] [stderr]   Downloaded cairo-lang-utils v2.8.4
[INFO] [stderr]   Downloaded unescaper v0.1.5
[INFO] [stderr]   Downloaded thiserror v1.0.68
[INFO] [stderr]   Downloaded scarb-stable-hash v1.0.0
[INFO] [stderr]   Downloaded genco v0.17.9
[INFO] [stderr]   Downloaded cairo-lang-macro-stable v1.0.0
[INFO] [stderr]   Downloaded cairo-lang-filesystem v2.8.4
[INFO] [stderr]   Downloaded thiserror-impl v1.0.68
[INFO] [stderr]   Downloaded linkme v0.3.29
[INFO] [stderr]   Downloaded genco-macros v0.17.9
[INFO] [stderr]   Downloaded cairo-lang-syntax-codegen v2.8.4
[INFO] [stderr]   Downloaded cairo-lang-macro-attributes v0.1.0
[INFO] [stderr]   Downloaded bigdecimal v0.4.6
[INFO] [stderr]   Downloaded cairo-lang-parser v2.8.4
[INFO] [stderr]   Downloaded rust-analyzer-salsa v0.17.0-pre.6
[INFO] [stderr]   Downloaded linkme-impl v0.3.29
[INFO] [stderr]   Downloaded cairo-lang-macro v0.1.0
[INFO] [stderr]   Downloaded cairo-lang-debug v2.8.4
[INFO] [stderr]   Downloaded cairo-lang-diagnostics v2.8.4
[INFO] [stderr]   Downloaded cairo-lang-syntax v2.8.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9e893fe121c5ffbdf0a5312c72ea856e2be7830bffc26331aa3967e2de3a0fef
[INFO] running `Command { std: "docker" "start" "-a" "9e893fe121c5ffbdf0a5312c72ea856e2be7830bffc26331aa3967e2de3a0fef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e893fe121c5ffbdf0a5312c72ea856e2be7830bffc26331aa3967e2de3a0fef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e893fe121c5ffbdf0a5312c72ea856e2be7830bffc26331aa3967e2de3a0fef", kill_on_drop: false }`
[INFO] [stdout] 9e893fe121c5ffbdf0a5312c72ea856e2be7830bffc26331aa3967e2de3a0fef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aaca69b5893213f1f39626e6d21fd2381bc0dde3c145dc9e85d23a3bdaf3060b
[INFO] running `Command { std: "docker" "start" "-a" "aaca69b5893213f1f39626e6d21fd2381bc0dde3c145dc9e85d23a3bdaf3060b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking hashbrown v0.15.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]     Checking oorandom v11.1.4
[INFO] [stderr]    Compiling thiserror v1.0.68
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling genco-macros v0.17.9
[INFO] [stderr]     Checking path-clean v1.0.1
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling xxhash-rust v0.8.12
[INFO] [stderr]     Checking relative-path v1.9.3
[INFO] [stderr]    Compiling xshell-macros v0.2.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling bigdecimal v0.4.6
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking xshell v0.2.6
[INFO] [stderr]    Compiling scarb-stable-hash v1.0.0
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]     Checking cairo-lang-macro-stable v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling rust-analyzer-salsa-macros v0.17.0-pre.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.68
[INFO] [stderr]    Compiling linkme-impl v0.3.29
[INFO] [stderr]    Compiling cairo-lang-macro-attributes v0.1.0
[INFO] [stderr]     Checking genco v0.17.9
[INFO] [stderr]     Checking linkme v0.3.29
[INFO] [stderr]     Checking cairo-lang-macro v0.1.0
[INFO] [stderr]     Checking unescaper v0.1.5
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking cairo-lang-syntax-codegen v2.8.4
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking triomphe v0.1.14
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]     Checking rust-analyzer-salsa v0.17.0-pre.6
[INFO] [stderr]     Checking cairo-lang-utils v2.8.4
[INFO] [stderr]     Checking cairo-lang-debug v2.8.4
[INFO] [stderr]     Checking cairo-lang-filesystem v2.8.4
[INFO] [stderr]     Checking cairo-lang-syntax v2.8.4
[INFO] [stderr]     Checking cairo-lang-diagnostics v2.8.4
[INFO] [stderr]     Checking cairo-lang-parser v2.8.4
[INFO] [stderr]     Checking dojo_macros v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found keyword `if`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     if let SyntaxKind::ItemModule = module_ast.kind(&db) {
[INFO] [stdout]    |     ^^ expected identifier, found keyword
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `}`, or an operator, found keyword `let`
[INFO] [stdout]   --> src/lib.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     if let SyntaxKind::ItemModule = module_ast.kind(&db) {
[INFO] [stdout]    |        ^^^ expected one of 7 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier or integer
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     if let SyntaxKind::ItemModule = module_ast.kind(&db) {
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Diagnostic`, `ProcMacroResult`, and `TokenStream`
[INFO] [stdout]  --> src/lib.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cairo_lang_macro::{attribute_macro, Diagnostic, ProcMacroResult, TokenStream};
[INFO] [stdout]   |                                         ^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_parser::utils::SimpleParserDatabase`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cairo_lang_parser::utils::SimpleParserDatabase;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MaybeModuleBody` and `ModuleItem`
[INFO] [stdout]  --> src/lib.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cairo_lang_syntax::node::ast::{self, MaybeModuleBody, ModuleItem};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_syntax::node::kind::SyntaxKind`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cairo_lang_syntax::node::kind::SyntaxKind;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SyntaxNode` and `Terminal`
[INFO] [stdout]  --> src/lib.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cairo_lang_syntax::node::{SyntaxNode, Terminal, TypedSyntaxNode};
[INFO] [stdout]   |                               ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `if`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     if let SyntaxKind::ItemModule = module_ast.kind(&db) {
[INFO] [stdout]    |     ^^ expected identifier, found keyword
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `}`, or an operator, found keyword `let`
[INFO] [stdout]   --> src/lib.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     if let SyntaxKind::ItemModule = module_ast.kind(&db) {
[INFO] [stdout]    |        ^^^ expected one of 7 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dojo_macros` (lib test) due to 3 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: expected identifier or integer
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     if let SyntaxKind::ItemModule = module_ast.kind(&db) {
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Diagnostic`, `ProcMacroResult`, and `TokenStream`
[INFO] [stdout]  --> src/lib.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cairo_lang_macro::{attribute_macro, Diagnostic, ProcMacroResult, TokenStream};
[INFO] [stdout]   |                                         ^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_parser::utils::SimpleParserDatabase`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cairo_lang_parser::utils::SimpleParserDatabase;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MaybeModuleBody` and `ModuleItem`
[INFO] [stdout]  --> src/lib.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cairo_lang_syntax::node::ast::{self, MaybeModuleBody, ModuleItem};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_syntax::node::kind::SyntaxKind`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cairo_lang_syntax::node::kind::SyntaxKind;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SyntaxNode` and `Terminal`
[INFO] [stdout]  --> src/lib.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cairo_lang_syntax::node::{SyntaxNode, Terminal, TypedSyntaxNode};
[INFO] [stdout]   |                               ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dojo_macros` (lib) due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "aaca69b5893213f1f39626e6d21fd2381bc0dde3c145dc9e85d23a3bdaf3060b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aaca69b5893213f1f39626e6d21fd2381bc0dde3c145dc9e85d23a3bdaf3060b", kill_on_drop: false }`
[INFO] [stdout] aaca69b5893213f1f39626e6d21fd2381bc0dde3c145dc9e85d23a3bdaf3060b
